package GUI;

import java.awt.BorderLayout;
import java.awt.EventQueue;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JLabel;
import java.awt.Font;
import javax.swing.JRadioButton;
import java.awt.Panel;
import java.awt.Canvas;
import javax.swing.JInternalFrame;
import javax.swing.ButtonGroup;

public class ModoSimples extends JFrame {

	private JPanel contentPane;
	private final ButtonGroup buttonGroup = new ButtonGroup();

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					ModoSimples frame = new ModoSimples();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public ModoSimples() {
		setTitle("<Modo.Simples>");
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 800, 600);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(null);
		
		JLabel lblPergunta = new JLabel("Pergunta");
		lblPergunta.setFont(new Font("Lucida Console", Font.PLAIN, 30));
		lblPergunta.setBounds(50, 66, 475, 67);
		contentPane.add(lblPergunta);
		
		JRadioButton rdbtnAlternativa = new JRadioButton("alternativa1");
		buttonGroup.add(rdbtnAlternativa);
		rdbtnAlternativa.setBounds(50, 200, 109, 23);
		contentPane.add(rdbtnAlternativa);
		
		JRadioButton rdbtnAlternativa_1 = new JRadioButton("alternativa2");
		buttonGroup.add(rdbtnAlternativa_1);
		rdbtnAlternativa_1.setBounds(50, 290, 109, 23);
		contentPane.add(rdbtnAlternativa_1);
		
		JRadioButton rdbtnAlternativa_2 = new JRadioButton("alternativa3");
		buttonGroup.add(rdbtnAlternativa_2);
		rdbtnAlternativa_2.setBounds(50, 380, 109, 23);
		contentPane.add(rdbtnAlternativa_2);
		
		JRadioButton rdbtnAlternativa_3 = new JRadioButton("alternativa4");
		buttonGroup.add(rdbtnAlternativa_3);
		rdbtnAlternativa_3.setBounds(50, 470, 109, 23);
		contentPane.add(rdbtnAlternativa_3);
		
		JInternalFrame internalFrame = new JInternalFrame("Score");
		internalFrame.setBounds(521, 0, 263, 81);
		contentPane.add(internalFrame);
		internalFrame.getContentPane().setLayout(null);
		
		JLabel lblPontos = new JLabel("Pontos");
		lblPontos.setBounds(10, 31, 46, 14);
		internalFrame.getContentPane().add(lblPontos);
		
		JLabel lblNome = new JLabel("Nome");
		lblNome.setBounds(10, 6, 46, 14);
		internalFrame.getContentPane().add(lblNome);
		internalFrame.setVisible(true);
	}
}
